<template>
  <div id="hello">
    <div class="header">
      <my-header headerText="主页面"></my-header>
    </div>
    <div class="content">
      <router-link to="/app/item">
        <h1>主页面</h1>
        <i class="cubeic-alert"></i>
        点我点我
        <i class="cubeic-alert"></i>
      </router-link>
    </div>
    <div class="footer">
      <my-footer></my-footer>
    </div>
    <my-view></my-view>
  </div>
</template>

<script>
export default {
}
</script>
<style lang="stylus" scoped>
#hello
  position: fixed
  top: 0
  right: 0
  bottom: 0
  left: 0
  background: #cccccc
  display: flex
  flex-direction: column
  .header
    min-height: 50px
    background: red
    position: relative
  .content
    flex-grow: 1
    background: #f7f7f7
    text-align: center
    line-height: 150px
  .footer
    min-height: 50px
    background: #ffffff
    position: relative
</style>
